const axios = require('axios')

// 发送Ajax请求
axios.get('http://localhost:8080/myweb/list')
    .then(res => {
        console.log(res.data)
    })
    .catch(err => {
        console.log(err)
    })
